//
//  MovieTwoView.m
//  豆瓣HW
//
//  Created by dllo on 15/11/30.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MovieTwoView.h"

@implementation MovieTwoView

- (void)dealloc
{
    [_imageV release];
    [_label release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}


- (void)createSubviews
{
    self.backgroundColor = [UIColor whiteColor];

    self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 110, 140)];
//    self.imageV.backgroundColor = [UIColor blackColor];
    [self addSubview:self.imageV];
    [_imageV release];

    self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 140, 110, 40)];
//    self.label.backgroundColor = [UIColor blueColor];
    self.label.textAlignment = NSTextAlignmentCenter;
    [self addSubview:self.label];
    [_label release];

}

@end
